package homework.demo0604;

import homework.demo0604.controller.UserController;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Demo {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context =
                new AnnotationConfigApplicationContext("homework.demo0604");
        UserController bean = context.getBean(UserController.class);
        bean.start();

    }
}
